package com.atguigu;

import com.rule.MySelfRule;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @author: mr.zhang
 * @description:
 * @create: 2021-06-21 16:24
 */
@SpringBootApplication
@MapperScan("com.atguigu.dao")
@EnableEurekaClient
@RibbonClient(name = "CONSUMER-ORDER",configuration = MySelfRule.class)
public class PaymentApplication {
    public static void main(String[] args) {
        SpringApplication.run(PaymentApplication.class,args);
    }
}
